gtk4.git
6 years agopopover bar: Add setters
Matthias Clasen [Sun, 9 Jun 2019 16:04:12 +0000 (16:04 +0000)]
popover bar: Add setters

Add setters/getters for the menu-model property.

6 years agoAdwaita: Adapt to popover bar changes
Matthias Clasen [Sun, 9 Jun 2019 15:24:37 +0000 (15:24 +0000)]
Adwaita: Adapt to popover bar changes

Add some initial styling for popover bars
and popover menus. This needs revision.

6 years agopopoverbar: Use a box layout
Matthias Clasen [Sun, 9 Jun 2019 15:23:47 +0000 (15:23 +0000)]
popoverbar: Use a box layout

Its the cool way to do layout these days.

6 years agomain: Warn if GDK sends us bad focus events
Matthias Clasen [Sun, 9 Jun 2019 14:09:20 +0000 (14:09 +0000)]
main: Warn if GDK sends us bad focus events

The new rule for focus events from the windowing
system is: We only want them for toplevels. If you
put focus on popups, we don't want to know about
it, and you still need to deliver key events to
the toplevel.

6 years agopopover menu: Disappear on focus out
Matthias Clasen [Sun, 9 Jun 2019 14:08:18 +0000 (14:08 +0000)]
popover menu: Disappear on focus out

We try to keep focus inside by wrapping arrow keynav.
But focus can still escape. If it does, we want to
disappear, like any good menu should.

6 years agopopover bar: Don't grab focus away from open menus
Matthias Clasen [Sun, 9 Jun 2019 14:03:40 +0000 (14:03 +0000)]
popover bar: Don't grab focus away from open menus

It makes them unhappy and disappear.

6 years agoExpand focus tests
Matthias Clasen [Sun, 9 Jun 2019 04:19:40 +0000 (04:19 +0000)]
Expand focus tests

6 years agopopover menu: Implement focus
Matthias Clasen [Sun, 9 Jun 2019 02:25:12 +0000 (02:25 +0000)]
popover menu: Implement focus

We want to cycle around for up/down arrows.

6 years agopopover bar: Implement focus
Matthias Clasen [Sun, 9 Jun 2019 02:23:47 +0000 (02:23 +0000)]
popover bar: Implement focus

This is the proper way to do focus.
We want to cycle around for left/right arrows.

6 years agomodel button: Make left/right switch submenus
Matthias Clasen [Sun, 9 Jun 2019 02:21:05 +0000 (02:21 +0000)]
model button: Make left/right switch submenus

This is expected menu keynav behavior: If the
focused item has a submenu, open it on right
arrow press. And if we are in a submenu title,
make left arrow press close it.

6 years agomenu button: Use proper focus api
Matthias Clasen [Sun, 9 Jun 2019 02:19:30 +0000 (02:19 +0000)]
menu button: Use proper focus api

Widgets are supposed to call gtk_widget_child_focus.
Calling internal focus_move function directly makes
us skip the childs ::focus() implementation, which
is where the magic happens.

6 years agopopover bar: Add arrow keynav
Matthias Clasen [Sat, 8 Jun 2019 17:48:29 +0000 (17:48 +0000)]
popover bar: Add arrow keynav

Make left/right cycle the active item
among the bars children. Separate the styling
for the active item from :hover, since it is
a separate state, and only mixed up in menus
for historical reasons.

6 years agowidget-factory: Move the popover bar to the ui file
Matthias Clasen [Sat, 8 Jun 2019 15:28:22 +0000 (15:28 +0000)]
widget-factory: Move the popover bar to the ui file

6 years agopopover bar: Add a model property
Matthias Clasen [Sat, 8 Jun 2019 15:27:52 +0000 (15:27 +0000)]
popover bar: Add a model property

This makes it less annoying to use in ui files.

6 years agowidget-factory: Don't use Return as accel
Matthias Clasen [Sat, 8 Jun 2019 13:46:38 +0000 (13:46 +0000)]
widget-factory: Don't use Return as accel

This is a bad idea, as it interacts badly with
general use of Return for activation.

6 years agopopover bar: Break out items
Matthias Clasen [Sat, 8 Jun 2019 13:42:18 +0000 (13:42 +0000)]
popover bar: Break out items

These will grow enough functionality that its
worth having an object for it.

6 years agolabel: Fix mnemonic visibility handling
Matthias Clasen [Sat, 8 Jun 2019 13:40:59 +0000 (13:40 +0000)]
label: Fix mnemonic visibility handling

With non-widgets having children, we can no
longer assume that using gtk_container_forall
lets us walk the entire tree.

6 years agowidget factory: Add mnemonics in popovers
Matthias Clasen [Sat, 8 Jun 2019 13:40:37 +0000 (13:40 +0000)]
widget factory: Add mnemonics in popovers

These don't work!

6 years agogdk: Always deliver key events to toplevels
Matthias Clasen [Sat, 8 Jun 2019 13:39:53 +0000 (13:39 +0000)]
gdk: Always deliver key events to toplevels

This is just a hack to see that this works.
Eventually, the backends should do the right
thing.

6 years agopopover bar: towards menubar-like behavior
Matthias Clasen [Sat, 8 Jun 2019 03:23:22 +0000 (03:23 +0000)]
popover bar: towards menubar-like behavior

Make the open popover follow the pointer.

6 years agowidget: Ignore natives for picking
Matthias Clasen [Sat, 8 Jun 2019 03:16:31 +0000 (03:16 +0000)]
widget: Ignore natives for picking

The natives transforms are not set up properly
to make this work, so ignore them here, for now.
This my need to be revisited later.

6 years agopopover: Respect alignment for positioning
Matthias Clasen [Sat, 8 Jun 2019 03:14:02 +0000 (03:14 +0000)]
popover: Respect alignment for positioning

We lost the code that takes the halign of
the popover into account when positioning it.
Bring it back, since we want to use it for
popover menus.

6 years agowidget factory: Redo the menubar with a model
Matthias Clasen [Fri, 7 Jun 2019 18:05:57 +0000 (18:05 +0000)]
widget factory: Redo the menubar with a model

No UI change intended, except for the fact that
actions don't do inconsistent states for checks
and radios.

6 years agoIntroduce a popover bar
Matthias Clasen [Fri, 7 Jun 2019 23:27:24 +0000 (23:27 +0000)]
Introduce a popover bar

This is meant to grow into a menubar replacement
with popovers. For now, it is just a box of menubuttons,
and not very much like a menubar at all.

6 years agoRationalize popover menu apis
Matthias Clasen [Fri, 7 Jun 2019 17:05:48 +0000 (17:05 +0000)]
Rationalize popover menu apis

Make gtk_popover_new_from_model() return a GtkPopoverMenu,
rename it to gtk_popover_menu_new_from_model() and add
a relative_to argument to gtk_popover_menu_new().

Update all callers.

6 years agoStop exporting gtk_popover_bind_model
Matthias Clasen [Fri, 7 Jun 2019 15:37:08 +0000 (15:37 +0000)]
Stop exporting gtk_popover_bind_model

We can't improve popover menus as long as we
have to be able to work with any old popover
we're given. Remove this, so we can make
gtk_popover_new_from_model return a subclass.

6 years agobox layout: Handle native children
Matthias Clasen [Fri, 7 Jun 2019 03:20:45 +0000 (03:20 +0000)]
box layout: Handle native children

These need to be skipped in measuring,
and we need to call gtk_native_check_resize
on them during allocation.

This was showing up as the new-style
context menu in widget-factory forcing
its relative-to box to grow when its
shown.

6 years agomodelbutton: Sizing fixes
Matthias Clasen [Fri, 7 Jun 2019 02:37:24 +0000 (02:37 +0000)]
modelbutton: Sizing fixes

We only want to reserve indicator size if
there are any checks or radios in the popover.
Unfortunately, GtkIcon has a hardcoded min-size
of 16, defeating this use. Work around by
wrapping each indicator in a box, and showing/
hiding the actual indicator.

6 years agowidget factory: Add a context menu example
Matthias Clasen [Fri, 7 Jun 2019 01:25:59 +0000 (01:25 +0000)]
widget factory: Add a context menu example

This is also taken from
https://gitlab.gnome.org/Teams/Design/os-mockups/blob/master/menus/menu-design-patterns.png

6 years agopopover menu: Fix style classes
Matthias Clasen [Thu, 6 Jun 2019 18:08:52 +0000 (18:08 +0000)]
popover menu: Fix style classes

We want the same style classes that are produced
when creating a popover from a menu model.

6 years agowidget factory: Improve manual popover menu example
Matthias Clasen [Thu, 6 Jun 2019 18:08:13 +0000 (18:08 +0000)]
widget factory: Improve manual popover menu example

Set up the size group, so things line up.

6 years agowidget-factory: Redo the new-style menu
Matthias Clasen [Thu, 6 Jun 2019 01:37:37 +0000 (01:37 +0000)]
widget-factory: Redo the new-style menu

Do this from a menu model first, since that
is easier to get right.

6 years agomenu section box: Add style classes for display hints
Matthias Clasen [Fri, 7 Jun 2019 13:03:10 +0000 (13:03 +0000)]
menu section box: Add style classes for display hints

This makes it easier to realize some of the new
styles for popover menus.

6 years agomenu section box: Introduce more section variants
Matthias Clasen [Thu, 6 Jun 2019 01:36:17 +0000 (01:36 +0000)]
menu section box: Introduce more section variants

Allow display-hint to be circular-buttons or
inline-buttons, to produce variations of horizontal
button layouts.

6 years agomodel button: Look up accels if needed
Matthias Clasen [Thu, 6 Jun 2019 23:04:52 +0000 (23:04 +0000)]
model button: Look up accels if needed

When we are not given an explicit accel (as is
the case when the popover is constructed from
a model), then look it up from the GtkApplication
at map time.

6 years agomodel button: Show shortcuts
Matthias Clasen [Fri, 7 Jun 2019 13:02:45 +0000 (13:02 +0000)]
model button: Show shortcuts

Most of the machinery for this is already
in place. We just need to add an accel property
to GtkMenuButton and pass it through.

6 years agomodel button: Redo layout
Matthias Clasen [Thu, 6 Jun 2019 00:41:45 +0000 (00:41 +0000)]
model button: Redo layout

Move checks to the left, and introduce a size group
to align things. The size group is provided by the
parent, using the new ::indicator-size-group property.

6 years agowidget-factory: Add another popover menu example
Matthias Clasen [Wed, 5 Jun 2019 19:36:35 +0000 (19:36 +0000)]
widget-factory: Add another popover menu example

This one is taken from
https://gitlab.gnome.org/GNOME/gtk/issues/1824

6 years agomodel button: Drop centered, inverted properties
Matthias Clasen [Wed, 5 Jun 2019 22:31:14 +0000 (22:31 +0000)]
model button: Drop centered, inverted properties

These properties were only useful for titles,
and we have a role for that now.

6 years agomodel button: Add a role for titles
Matthias Clasen [Wed, 5 Jun 2019 21:22:01 +0000 (21:22 +0000)]
model button: Add a role for titles

This gets us out of using direct presentational
markup like 'inverted' and 'centered' and will
make it easier to play with different layout.

Use the new role when creating popover
menus from models.

6 years agomodel button: Small fixes
Matthias Clasen [Wed, 5 Jun 2019 19:33:43 +0000 (19:33 +0000)]
model button: Small fixes

Make iconic model buttons work better.

6 years agoUpdate POTFILES.skip
Piotr Drąg [Sun, 9 Jun 2019 15:29:12 +0000 (17:29 +0200)]
Update POTFILES.skip

6 years agoconfig.h: fix stray #
Christian Hergert [Thu, 6 Jun 2019 23:08:13 +0000 (16:08 -0700)]
config.h: fix stray #

6 years agoMerge branch 'wip/chergert/set-va-marshallers' into 'master'
Matthias Clasen [Thu, 6 Jun 2019 22:39:44 +0000 (22:39 +0000)]
Merge branch 'wip/chergert/set-va-marshallers' into 'master'

va_marshaller: add various va_marshallers

See merge request GNOME/gtk!917

6 years agova_marshaller: add various va_marshallers
Christian Hergert [Thu, 6 Jun 2019 22:27:54 +0000 (15:27 -0700)]
va_marshaller: add various va_marshallers

We don't need to cover every case with a va_marshaller, but there are a
number of them that are useful because they will often only be connected
to by a single signal handler.

Generally speaking, if I opened into a file to add a va_marshaller, I just
set all of them.

6 years agoMerge branch 'wip/matthiasc/shared-glyph-cache' into 'master'
Matthias Clasen [Wed, 5 Jun 2019 12:10:24 +0000 (12:10 +0000)]
Merge branch 'wip/matthiasc/shared-glyph-cache' into 'master'

Share the glyph cache

See merge request GNOME/gtk!912

6 years agoCosmetics
Matthias Clasen [Wed, 5 Jun 2019 12:03:39 +0000 (12:03 +0000)]
Cosmetics

Rename some arguments, since atlases->atlases is awful.

6 years agotexture atlas: Add a missing initialization
Matthias Clasen [Wed, 5 Jun 2019 12:00:53 +0000 (12:00 +0000)]
texture atlas: Add a missing initialization

Pointed out by Timm.

6 years agoMerge branch 'theme-load' into 'master'
Matthias Clasen [Wed, 5 Jun 2019 10:56:25 +0000 (10:56 +0000)]
Merge branch 'theme-load' into 'master'

Add a theme loading benchmark

See merge request GNOME/gtk!913

6 years agorender node: Optimize type checks
Matthias Clasen [Sat, 1 Jun 2019 21:25:55 +0000 (21:25 +0000)]
render node: Optimize type checks

The GSK_IS_RENDER_NODE macro is a bit silly,
and not worth having in g_return_if_fail checks
in trivial getters.

6 years agosurface: Use surface->display directly
Matthias Clasen [Sat, 1 Jun 2019 21:55:14 +0000 (21:55 +0000)]
surface: Use surface->display directly

No need to go through a public getter
for internal uses.

6 years agoAdd a theme loading benchmark
Matthias Clasen [Wed, 5 Jun 2019 03:23:13 +0000 (03:23 +0000)]
Add a theme loading benchmark

6 years agoFix a refcounting mishap
Matthias Clasen [Wed, 5 Jun 2019 02:49:07 +0000 (02:49 +0000)]
Fix a refcounting mishap

We were missing a ref, causing caches to go missing
when a window is opened twice.

6 years agoBring brink skip_allocate
Matthias Clasen [Wed, 5 Jun 2019 00:31:53 +0000 (00:31 +0000)]
Bring brink skip_allocate

This was removed by accident in 580aa8204f45768,
together with some no longer needed popover
special-casing.

6 years agoRemove debug spew
Matthias Clasen [Tue, 4 Jun 2019 23:11:18 +0000 (23:11 +0000)]
Remove debug spew

6 years agoConsider all offscreen drawings for the icon cache
Timm Bäder [Tue, 4 Jun 2019 17:28:59 +0000 (17:28 +0000)]
Consider all offscreen drawings for the icon cache

6 years agoShare glyph and icon caches
Matthias Clasen [Tue, 4 Jun 2019 21:27:09 +0000 (21:27 +0000)]
Share glyph and icon caches

Use the same texture atlases to back both
the glyph and icon caches, and unify their
sizes and management. Store big glyphs
in separate textures, so all atlases have
the same size. Tweak some of the eviction
parameters.

We share the caches across all GL contexts
on a display, unless the GSK_NO_SHARED_CACHES
env var is set.

6 years agogdk: Create a global shared GL context
Matthias Clasen [Tue, 4 Jun 2019 21:26:28 +0000 (21:26 +0000)]
gdk: Create a global shared GL context

Create a global GL context that connects all
GL contexts on a display and lets us share textures
between them.

6 years agoglyph cache: Stop storing driver and render
Matthias Clasen [Mon, 3 Jun 2019 19:00:17 +0000 (19:00 +0000)]
glyph cache: Stop storing driver and render

This is the first step towards sharing glyph
caches across renderers.

6 years agogl: Use pad-extend for icon cache
Matthias Clasen [Sun, 2 Jun 2019 17:59:25 +0000 (17:59 +0000)]
gl: Use pad-extend for icon cache

Repeat the border pixels to avoid artifacts from
linear scaling.

6 years agogl: Use linear scaling for atlases
Matthias Clasen [Sun, 2 Jun 2019 16:59:52 +0000 (16:59 +0000)]
gl: Use linear scaling for atlases

6 years agogl: Allow setting min/mag filter on textures
Matthias Clasen [Sun, 2 Jun 2019 16:47:57 +0000 (16:47 +0000)]
gl: Allow setting min/mag filter on textures

This will be used in the future.
Adapt all callers to pass GL_NEAREST for now.

6 years agogl: Add 1 pixel of padding in the icon cache
Matthias Clasen [Sun, 2 Jun 2019 16:41:54 +0000 (16:41 +0000)]
gl: Add 1 pixel of padding in the icon cache

6 years agoglyph cache: Reinstate 1 pixel padding
Matthias Clasen [Sun, 2 Jun 2019 16:02:31 +0000 (16:02 +0000)]
glyph cache: Reinstate 1 pixel padding

This is necessary to prevent bleeding.

6 years agogl: Don't leak texture atlases
Matthias Clasen [Sun, 2 Jun 2019 15:11:11 +0000 (15:11 +0000)]
gl: Don't leak texture atlases

We need to free the texture atlases, and the
textures backing them.

6 years agogl: Free icon data
Matthias Clasen [Sun, 2 Jun 2019 15:10:40 +0000 (15:10 +0000)]
gl: Free icon data

6 years agoglyph cache: Clarify message
Matthias Clasen [Sun, 2 Jun 2019 15:08:20 +0000 (15:08 +0000)]
glyph cache: Clarify message

We have different kinds of caches now.

6 years agogl renderer: Add & use icon cache
Timm Bäder [Wed, 22 May 2019 07:33:25 +0000 (09:33 +0200)]
gl renderer: Add & use icon cache

Upload small icons all to the same texture atlas.

6 years agoglimage: Only support uploading one region
Timm Bäder [Thu, 14 Feb 2019 14:22:40 +0000 (15:22 +0100)]
glimage: Only support uploading one region

6 years agogl renderer: Move texture atlas into its own file
Timm Bäder [Wed, 22 May 2019 05:33:45 +0000 (07:33 +0200)]
gl renderer: Move texture atlas into its own file

We want to reuse the code later.

6 years agoglglyphcache: Use stb_rect_pack for better glyph packing
Timm Bäder [Sun, 10 Feb 2019 09:12:47 +0000 (10:12 +0100)]
glglyphcache: Use stb_rect_pack for better glyph packing

6 years agodocs: Remove mention of queue_draw_area()
Benjamin Otte [Tue, 4 Jun 2019 14:59:32 +0000 (14:59 +0000)]
docs: Remove mention of queue_draw_area()

and queue_draw_region(). They're gone since 73650c6da2b6171d10633038f74088980e8a7fc7.

6 years agorendernodeimpl: Inline container_node_get_bounds into _new
Timm Bäder [Tue, 4 Jun 2019 14:32:49 +0000 (16:32 +0200)]
rendernodeimpl: Inline container_node_get_bounds into _new

It's the only caller of the function and we can avoid a second loop over
all child nodes this way.

6 years agosnapshot: Make append_node_internal transfer-full
Timm Bäder [Tue, 4 Jun 2019 14:14:30 +0000 (16:14 +0200)]
snapshot: Make append_node_internal transfer-full

There is only one case where we do *not* directly unref the node again
after calling this.

6 years agoMerge branch 'for-master' into 'master'
Benjamin Otte [Tue, 4 Jun 2019 04:24:28 +0000 (04:24 +0000)]
Merge branch 'for-master' into 'master'

For master

See merge request GNOME/gtk!911

6 years agowidget-factory: Show proper separators
Benjamin Otte [Mon, 3 Jun 2019 23:45:17 +0000 (01:45 +0200)]
widget-factory: Show proper separators

6 years agobuilder: Allow values of type GType
Benjamin Otte [Tue, 4 Jun 2019 04:09:31 +0000 (06:09 +0200)]
builder: Allow values of type GType

In particular this allows setting the item-type property of GListStore.

6 years agobuilder: Make GListStore buildable
Benjamin Otte [Tue, 4 Jun 2019 03:54:16 +0000 (05:54 +0200)]
builder: Make GListStore buildable

Treats GListStore like any other object and allows <child> to add items
to it.

6 years agotestsuite: Add tests for printing/parsing transforms
Benjamin Otte [Mon, 3 Jun 2019 16:21:10 +0000 (18:21 +0200)]
testsuite: Add tests for printing/parsing transforms

6 years agoMerge branch 'transform-tests' into 'master'
Matthias Clasen [Mon, 3 Jun 2019 16:41:17 +0000 (16:41 +0000)]
Merge branch 'transform-tests' into 'master'

Transform tests

See merge request GNOME/gtk!910

6 years agogsk: Add some more transform tests
Matthias Clasen [Mon, 3 Jun 2019 16:18:55 +0000 (16:18 +0000)]
gsk: Add some more transform tests

Tests around identity. Seems trivial, but
still managed to find a bug.

6 years agogsk: Fix printing of identity transforms
Matthias Clasen [Mon, 3 Jun 2019 16:19:57 +0000 (16:19 +0000)]
gsk: Fix printing of identity transforms

These need to print as "none", otherwise
the parser does not accept them.

6 years agoCosmetics
Matthias Clasen [Mon, 3 Jun 2019 16:15:16 +0000 (16:15 +0000)]
Cosmetics

Fix up a variable name mismatch in GskTransform docs.

6 years agoMove transform tests to the gsk suite
Matthias Clasen [Mon, 3 Jun 2019 16:10:09 +0000 (16:10 +0000)]
Move transform tests to the gsk suite

That is where they belong.

6 years agoMerge branch 'for-master' into 'master'
Benjamin Otte [Mon, 3 Jun 2019 15:45:20 +0000 (15:45 +0000)]
Merge branch 'for-master' into 'master'

rendernodeparser: Handle Cairo being stupid

See merge request GNOME/gtk!909

6 years agoGskTransform: NULL is a valid transform
Timm Bäder [Mon, 3 Jun 2019 15:36:31 +0000 (17:36 +0200)]
GskTransform: NULL is a valid transform

6 years agorendernodeparser: Handle Cairo being stupid
Benjamin Otte [Mon, 3 Jun 2019 15:20:59 +0000 (17:20 +0200)]
rendernodeparser: Handle Cairo being stupid

Cairo writes to finished streams, so we have to make sure to keep the
stream around to allow it to do that.

6 years agogl renderer: Dont' memcmp() a GskTransform
Timm Bäder [Mon, 3 Jun 2019 15:07:26 +0000 (17:07 +0200)]
gl renderer: Dont' memcmp() a GskTransform

6 years agowidget: Unref priv->{allocated_,}transform
Timm Bäder [Mon, 3 Jun 2019 14:56:20 +0000 (16:56 +0200)]
widget: Unref priv->{allocated_,}transform

6 years agogl renderer: Don't ref transform twice
Timm Bäder [Mon, 3 Jun 2019 14:55:59 +0000 (16:55 +0200)]
gl renderer: Don't ref transform twice

That's gonna leak it otherwise.

6 years agoglyphcache: Don't leak hashtables
Timm Bäder [Mon, 3 Jun 2019 14:47:58 +0000 (16:47 +0200)]
glyphcache: Don't leak hashtables

6 years agoGskTransform: Ignore identity transforms
Timm Bäder [Mon, 3 Jun 2019 14:20:12 +0000 (16:20 +0200)]
GskTransform: Ignore identity transforms

We often end up with e.g. a scale of 1 or a translation by 0/0. Ignore
those transforms since they don't do anything.

6 years agogl renderer: Ref transform before using it
Timm Bäder [Mon, 3 Jun 2019 13:54:25 +0000 (15:54 +0200)]
gl renderer: Ref transform before using it

Fixes #1929

6 years agogl renderer: Dont' unnecessarily to_matrix transforms
Timm Bäder [Mon, 3 Jun 2019 13:54:13 +0000 (15:54 +0200)]
gl renderer: Dont' unnecessarily to_matrix transforms

6 years agoMerge branch 'menu-sizing' into 'master'
Matthias Clasen [Mon, 3 Jun 2019 14:57:46 +0000 (14:57 +0000)]
Merge branch 'menu-sizing' into 'master'

menu: Update scrollbar policy

Closes #1930

See merge request GNOME/gtk!908

6 years agomenu: Update scrollbar policy
Matthias Clasen [Mon, 3 Jun 2019 14:47:48 +0000 (14:47 +0000)]
menu: Update scrollbar policy

We want to avoid sizing problems for small menus
due to the vertical scrollbar imposing a min-height on
its slider.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1930
6 years agoMerge branch 'cherry-pick-ae2ef147' into 'master'
Benjamin Otte [Mon, 3 Jun 2019 11:29:54 +0000 (11:29 +0000)]
Merge branch 'cherry-pick-ae2ef147' into 'master'

gtk: fix weed_out_neg_zero() in spinbutton and scale

See merge request GNOME/gtk!906

6 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 3 Jun 2019 10:26:36 +0000 (12:26 +0200)]
Updated Spanish translation

6 years agoMerge branch 'glyph-memdup' into 'master'
Matthias Clasen [Mon, 3 Jun 2019 03:07:31 +0000 (03:07 +0000)]
Merge branch 'glyph-memdup' into 'master'

gl: Avoid a memdup in glyph upload

See merge request GNOME/gtk!907

6 years agogl: Avoid a memdup in glyph upload
Matthias Clasen [Mon, 3 Jun 2019 02:46:12 +0000 (02:46 +0000)]
gl: Avoid a memdup in glyph upload

We don't need to dup the memory here if we
set up the image surface properly. This won't
matter for most glyphs, but some of them can
be big.